package com.example.second_home_work



class ProgramAdviser {
    fun getAdvice(advice : String): String {

        when(advice){
            "kotlin"->return "继续练习 Kotlin！"
            "java"->return "继续练习 java！"
            "c++"->return "继续练习 c++！"
            "python"->return "继续练习 python！"
            else ->return "error!"
        }
    }
}